CXX=g++
CFLAGS=-g -O2 -Wall -fPIC -Wno-deprecated 

INC=-I ../lars_api
LIB=-L ../lib/ -llarsclient -lprotobuf -lpthread

all:
	$(CXX) $(CFLAGS) -o get_host get_host.cpp $(INC) $(LIB)
	$(CXX) $(CFLAGS) -o simulator simulator.cpp $(INC) $(LIB)
	$(CXX) $(CFLAGS) -o get_route get_route.cpp $(INC) $(LIB)
	$(CXX) $(CFLAGS) -o qps qps.cpp $(INC) $(LIB)

clean:
	-rm -f *.o get_host simulator get_route qps


	